package org.summerframework.component.enums.service.dto;

import org.summerframework.core.page.PaginationQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * enums
 * @author
 */
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class EnumsQueryDTO extends PaginationQuery {
    @ApiModelProperty(value = "根据排序")
    private Boolean orderById;

    /**
     * 枚举类型
     */
    @ApiModelProperty(value = "枚举类型")
    private String kind;

    /**
     * 枚举值分组
     */
    @ApiModelProperty(value = "枚举值分组")
    private String group;

    /**
     * 枚举值
     */
    @ApiModelProperty(value = "枚举值")
    private Integer code;

    /**
     * 可见性
     */
    @ApiModelProperty(value = "可见性")
    private Integer isVisible;

    /**
     * 二进制顺序位枚举值
     */
    @ApiModelProperty(value = "根据二进制顺序位枚举值排序")
    private Boolean orderBySortIndex;
}
